package com.zhangtai.modules.entity.security;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zhangtai.config.LongJsonDeserializer;
import com.zhangtai.config.LongJsonSerializer;
import lombok.Data;

		import java.math.BigDecimal;
	

/**
 * 
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2020-08-24 14:30:32
 */
@Data
@TableName("tb_funds_record")
public class FundsRecordEntity implements Serializable {
	private static final long serialVersionUID = 1L;

			/**
		 * 
		 */
			@TableId
		@JsonDeserialize(using = LongJsonDeserializer.class)
		@JsonSerialize(using = LongJsonSerializer.class)
			private Long recordId;
			/**
		 * 员工ID
		 */
			@JsonDeserialize(using = LongJsonDeserializer.class)
			@JsonSerialize(using = LongJsonSerializer.class)
			private Long oid;
			/**
		 * 缴纳单位全称
		 */
			private String unitName;
			/**
		 * 公司
		 */
			private String orgName;
			/**
		 * 社保缴纳地
		 */
			private String cityName;
			/**
		 * 公积金个人缴纳
		 */
			private BigDecimal reservedFundsPerson;
			/**
		 * 公积金公司缴纳
		 */
			private BigDecimal reservedFundsOrg;
			/**
		 * 公积金个人缴纳比例
		 */
			private BigDecimal reservedFundsPersonRate;
			/**
		 * 公积金公司缴纳比例
		 */
			private BigDecimal reservedFundsOrgRate;
	/**
	 * 补充公积金个人缴纳
	 */
	private BigDecimal offerFundsPerson;
	/**
	 * 补充公积金公司缴纳
	 */
	private BigDecimal offerFundsOrg;
	/**
	 * 补充公积金个人缴纳比例
	 */
	private BigDecimal offerFundsPersonRate;
	/**
	 * 补充公积金公司缴纳比例
	 */
	private BigDecimal offerFundsOrgRate;
			/**
		 * 
		 */
			private BigDecimal personCostTotal;
			/**
		 * 
		 */
			private BigDecimal orgCostTotal;
			/**
		 * 
		 */
			private BigDecimal salaryCost;
			/**
		 * 工资扣除月份
		 */
			private Date createTime;
			/**
		 * 状态 0未处理 1核对中
		 */
			private Integer isCheck;
			/**
		 * 是否确认 0：未确认 1：已确认
		 */
			private Integer isConfirm;
			/**
		 * 记录类型  0：增员  1：减员 2：正常 3：变更
		 */
			private Integer type;
			/**
		 * 
		 */
			private Integer isDelete;
			/**
		 * 缴纳月份
		 */
			private Date operateTime;
			/**
		 * 操作人工号
		 */
			private String operateCode;
			/**
		 * 操作人姓名
		 */
			private String operateName;
//			/**
//		 *
//		 */
//			@JsonDeserialize(using = LongJsonDeserializer.class)
//			@JsonSerialize(using = LongJsonSerializer.class)
//			private Long orgId;

	@JsonDeserialize(using = LongJsonDeserializer.class)
	@JsonSerialize(using = LongJsonSerializer.class)
	private Long unitId;

			private BigDecimal reservedFundsBase;

			private BigDecimal offerFundsBase;

			private Date confirmTime;
	@JsonDeserialize(using = LongJsonDeserializer.class)
	@JsonSerialize(using = LongJsonSerializer.class)
			private Long securityId;
	
}
